![]() |
pCon.planner Plugin SDK
Version 8.16
|
Public Member Functions | |
| Currency () | |
| Default constructor. More... | |
| Currency (String^ pUnit, Decimal pValue) | |
| Constructor to initialize the unit and the value. More... | |
| Currency (Currency^ pOther) | |
| Copy constructor. More... | |
| bool | IsRelative () |
| Returns true if the currency represents a relative value. More... | |
| void | SetRelative () |
| Changes the unit to relative. More... | |
Public Attributes | |
| String^ | Unit |
| The currency unit. More... | |
| Decimal | Value |
| The currency value. More... | |
Currency class.
| X3g::Plugin::Currency::Currency | ( | ) |
Default constructor.
Unit = null, Value = 0
| X3g::Plugin::Currency::Currency | ( | String^ | pUnit, |
| Decimal | pValue | ||
| ) |
Constructor to initialize the unit and the value.
| X3g::Plugin::Currency::Currency | ( | Currency^ | pOther) |
Copy constructor.
| bool X3g::Plugin::Currency::IsRelative | ( | ) |
Returns true if the currency represents a relative value.
(Unit = "%")
| void X3g::Plugin::Currency::SetRelative | ( | ) |
Changes the unit to relative.
(Unit = "%")
| String ^ X3g::Plugin::Currency::Unit |
The currency unit.
Contains a 3 letter ISO currency code. If the Unit is equal to "%" then this currency represents a relative value. (e.g. for discounts)
| Decimal X3g::Plugin::Currency::Value |
The currency value.
1.8.4